projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3867c
)
daemon: Use g_thread_new() for GLib 2.32
author
Colin Walters
<walters@verbum.org>
Thu, 3 May 2012 20:07:18 +0000
(16:07 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 3 May 2012 20:07:18 +0000
(16:07 -0400)
src/daemon/ot-daemon.c
patch
|
blob
|
history
diff --git
a/src/daemon/ot-daemon.c
b/src/daemon/ot-daemon.c
index b688fedddd050c592c140eb529cd6dc70ebff17b..465b2fd72124534c1554d2bf5c0d8438a17b2616 100644
(file)
--- a/
src/daemon/ot-daemon.c
+++ b/
src/daemon/ot-daemon.c
@@
-183,8
+183,12
@@
do_op_overlay (OstreeDaemon *self,
tdata->op = op;
tdata->dir = ot_gfile_new_for_path (dir);
+#if GLIB_CHECK_VERSION(2,32,0)
+ g_thread_new ("overlay-dir-thread", overlay_dir_thread, tdata);
+#else
g_thread_create_full (overlay_dir_thread, tdata, 0, FALSE, FALSE,
G_THREAD_PRIORITY_NORMAL, NULL);
+#endif
}
static void